[LaTeX] 关于enumerate

Enumerate 是$\LaTeX$ 中一个用来实现列表的环境,相信大多数接触过LaTeX 的同学都不会对这个环境太陌生。正常情况下enumerate 可以说是一个非常好用的功能,但是在某些特殊情况下,我们需要修改标签的排列方式,这时我们就要用到enumerate环境配套的宏包了。


1
2
3
4
5
6
7
8
9
\documentclass{article}
\usepackage{enumerate}
\begin{document}
This is a latex example
\begin{enumerate}[(a)]
\item this is a item example
\item this is another item example
\end{enumerate}
\end{document}

其中你需要注意的, 一定要使用enumerate 宏包,不然是没有办法显示上图的效果的。 其次环境开头所用的[(a)] 可以替换成A, I, i, 1, 计数器会识别为对应的大小写字母或者罗马数字。其三,如果还有更特别的列表,[ ]中还可以定义更多种标签,你还可以直接使用\item[] 在方框内对每一个标签进行定义。

Reference:
En.wikibooks.org, (2015). LaTeX/List Structures - Wikibooks, open books for an open world. [online] Available at: https://en.wikibooks.org/wiki/LaTeX/List_Structures [Accessed 14 Nov. 2015].